<?php
namespace app\index\validate;
use think\Validate;

class Member extends Validate
{

    protected $rule = [
        'name|用户名' => 'require|min:3',
        'password|密码'=>'require|min:5',
    ];

    protected $message = [
        'name.require'=>'用户名必填',
        'name.min'=>'用户名最小3位',
    ];


}